@font-face{
    font-family: "pfr";
    src: url("../fonts/PingFangRegular.ttf");
}
@font-face{
    font-family: "pfb";
    src: url("../fonts/PingFangBold.ttf");
}
html,body{
    height: 100%;
	overflow: auto;
    width: 100%;
	color: #666;
	font-family: 'pfr';
	font-size: 0.85rem;
}
//设置宽高
.wh(@w, @h) {
    width: @w;
    height: @h;
}
//定义margin值
.mt(@i) {
    margin-top: @i;
}
.ml(@i) {
    margin-left: @i;
}
.mr(@i) {
    margin-right: @i;
}
.mb(@i) {
    margin-bottom: @i;
}
.mc() {
    margin-left: auto;
    margin-right: auto;
}
//定义padding
.pt(@i) {
    padding-top: @i;
}
.pb(@i) {
    padding-bottom: @i;
}
.pl(@i) {
    padding-left: @i;
}
.pr(@i) {
    padding-right: @i;
}
//单行垂直居中
.hc(@i) {
    height: @i;
    line-height: @i;
}
//字体大小
.fz(@i){
    font-size: @i;
}
//只有两个函数的情况,向底部渐变
.tlg(@cs, @ce) {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#f0f9ff+0,a1dbff+100 */
    background: @cs;
    /* Old browsers */
    background: -moz-linear-gradient(top, @cs 0%, @ce 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, @cs 0%,@ce 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, @cs 0%,@ce 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter:progid:DXImageTransform.Microsoft.gradient( startColorstr = %("%a",argb(@cs)), endColorstr = %("%a",argb(@ce)),GradientType=0);
}
.tlg(@cs, @cc1, @cc2, @ce...) {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#4096ee+0,43cff9+100 */
    background: extract(@arguments, 1);
    /* Old browsers */
    background: -moz-linear-gradient(top, extract(@arguments, 1) extract(@arguments, 2),extract(@arguments, 3) extract(@arguments, 4),extract(@arguments, 5) extract(@arguments, 6),extract(@arguments, 7) extract(@arguments, 8));
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, extract(@arguments, 1) extract(@arguments, 2),extract(@arguments, 3) extract(@arguments, 4),extract(@arguments, 5) extract(@arguments, 6),extract(@arguments, 7) extract(@arguments, 8));
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, extract(@arguments, 1) extract(@arguments, 2),extract(@arguments, 3) extract(@arguments, 4),extract(@arguments, 5) extract(@arguments, 6),extract(@arguments, 7) extract(@arguments, 8));
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter:progid:DXImageTransform.Microsoft.gradient( startColorstr= %("%a",argb(extract(@arguments, 1))), endColorstr= %("%a",argb(extract(@arguments, 7))),GradientType=0 );
    /* IE6-9 */
}
//定义颜色
@bgColor:#28c81e;
@fontColor:#444;
@boderColor:#e2e2e2;
